package com.iflytek.sbd.listener;




import com.iflytek.sbd.event.ExceptionListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


public class MyExceptionListener implements ExceptionListener {

    Logger logger = LoggerFactory.getLogger(MyExceptionListener.class);

    @Override
    public void processException(Exception e) {
        logger.error("异常捕获:{}", e.getMessage());
    }

    @Override
    public Object responseException(Exception e) {
        return null;
    }
}
